package com.example.cpms.service;

import com.example.cpms.entity.Device;
import com.example.cpms.entity.Plant;
import com.example.cpms.utils.PageBean;

import java.util.List;

/**
 * @author 乔
 */
public interface PlantService {
    void delete(int id);

    void add(Plant plant);
    void update(Plant plant);
    PageBean page(Integer page, Integer pageSize, String name);

    List<Plant> getAllPlant();

}
